package com.dazzle.system.dao;

import javax.annotation.Resource;

import org.junit.Test;
import org.springframework.test.annotation.Rollback;

import com.dazzle.BaseTestCase;
import com.dazzle.system.entity.SysImages;

public class SysImagesDaoTestCase extends BaseTestCase {
	@Resource
	private SysImagesDao dao;
	
	@Test
	@Rollback(false)
	public void add(){		
		for(int i=0;i<10;i++){
			SysImages image = new SysImages();
			image.setImgName("test"+i);
			image.setImgPath("path"+i);
			dao.save(image);
		}
	}
}